-- GENERATED SPELL FOR [Dragonflayer Worg] --


function spell0_24063(pUnit, Event) --@Infected Bite,n/a--
pUnit:FullCastSpellOnTarget(7367,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_24063', 30000, 1)
end

function Sorts_24063(pUnit, Event)
local choix_sorts_24063 = math.random(0, 0)
if choix_sorts_24063 == 0 then
pUnit:RegisterEvent('spell0_24063', 1, 1)
end
end

function mob24063_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24063', math.random(1500, 3000), 1)
end

function mob24063_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24063_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24063_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24063, 1, 'mob24063_Action')
RegisterUnitEvent(24063, 2, 'mob24063_Leave')
RegisterUnitEvent(24063, 3, 'mob24063_Kill')
RegisterUnitEvent(24063, 4, 'mob24063_Die')
